// es6默认导出一个vue插件

import PageTools from './PageTools'
import ComTest from './ComTest'
import UploadImg from './UploadImg'
import ImageHolder from './ImageHolder'
import Lang from './Lang'
import ScreenFull from './ScreenFull'
export default {
  install: function(Vue) {
    console.log('我们自定义的插件...')
    // 定义全局组件 - 拓展vue的功能
    Vue.component('PageTools', PageTools)
    Vue.component('ComTest', ComTest)
    Vue.component('UploadImg', UploadImg)
    Vue.component('ImageHolder', ImageHolder)
    Vue.component('Lang', Lang)
    Vue.component('ScreenFull', ScreenFull)
  }
}
